import request from '/@/utils/request'
import {module} from '/@/api/ums'

export default {
  levelList() {
    return request({
      url: module + '/customerLevel/getList',
      method: 'get'
    })
  },
  createLevel(data) {
    return request({
      url: module + '/customerLevel/add',
      method: 'post',
      data
    })
  },
  editLevel(data) {
    return request({
      url: module + '/customerLevel/edit',
      method: 'post',
      data
    })
  },
  delLevel(data) {
    return request({
      url: module + '/customerLevel/delete',
      method: 'post',
      data
    })
  }
}
